package calendar;


import java.util.Date;

import com.github.crab2died.annotation.ExcelField;

import converter.Student2DateConverter;

public class Student1 {

    // 学号
    @ExcelField(title = "学号", order = 1)
    private String id;

    // 姓名
    @ExcelField(title = "姓名", order = 2)
    private String name;

    // 班级
    @ExcelField(title = "班级", order = 3)
    private String classes;
    
    //时间转换
    @ExcelField(title = "时间", order = 4,writeConverter = Student2DateConverter.class)
    private Date date;

    public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public Student1() {

    }

    public Student1(String id, String name, String classes,Date date) {
        this.id = id;
        this.name = name;
        this.classes = classes;
        this.date = date;
    }

	@Override
	public String toString() {
		return "Student1 [id=" + id + ", name=" + name + ", classes=" + classes + ", date=" + date + "]";
	}

}
